Skip to content

fix(editor): fix window close logic and lambda capture#477

Merged
lzwind merged 1 commit into
linuxdeepin:masterfrom
add-uos:fix-365421-fix-window-close-and-lambda-capture
Jun 11, 2026
Merged

fix(editor): fix window close logic and lambda capture#477
lzwind merged 1 commit into
linuxdeepin:masterfrom
add-uos:fix-365421-fix-window-close-and-lambda-capture

Conversation

@add-uos

@add-uos add-uos commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Fix window close timing by checking tabbar count instead of just wrappers. Use proper lambda capture [this] to avoid StartManager::instance() race condition.

修复窗口关闭时机判断,添加标签页计数检查。
修复lambda捕获问题,使用this指针避免instance()竞态条件。

Log: 修复窗口关闭逻辑
PMS: BUG-365421
Influence: 修复编辑器关闭时可能出现的窗口未正确关闭问题,提升应用稳定性。

Fix window close timing by checking tabbar count instead of just wrappers.
Use proper lambda capture [this] to avoid StartManager::instance() race condition.

修复窗口关闭时机判断,添加标签页计数检查。
修复lambda捕获问题,使用this指针避免instance()竞态条件。

Log: 修复窗口关闭逻辑
PMS: BUG-365421
Influence: 修复编辑器关闭时可能出现的窗口未正确关闭问题,提升应用稳定性。

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @add-uos, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@lzwind lzwind merged commit 717fe1b into linuxdeepin:master Jun 11, 2026
19 of 21 checks passed
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: add-uos, lzwind

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1 similar comment
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: add-uos, lzwind

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants